package cn.agilean.test.repo;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.List;

@Configuration
@ConfigurationProperties("blacks")
public class BlackRepo {
    private List<String> companyBlackList;
    private List<String> productBlackList;

    public List<String> getCompanyBlackList() {
        return companyBlackList;
    }

    public void setCompanyBlackList(List<String> companyBlackList) {
        this.companyBlackList = companyBlackList;
    }

    public List<String> getProductBlackList() {
        return productBlackList;
    }

    public void setProductBlackList(List<String> productBlackList) {
        this.productBlackList = productBlackList;
    }
}
